﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Imaginecup.util.Funtion
{
    public class Collision
    {
        public static bool IsCollision(Rectangle srcRect ,Rectangle dstRect)
        {
            return srcRect.Intersects(dstRect);
        }
    }
}
